//电影管理

var express = require('express');
var router = express.Router();
var SlideAdd = require('./slideadd');
var SlideEdit = require('./slideedit');
var SlideDel = require('./slidedel');
var SlideList = require('./slidelist');
var SlideSetup = require('./setup');
var SlideState = require('./state');



router.get('/', function(req, res, next) {
  res.send('轮播图管理页面');
});


router.use('/add',SlideAdd);
router.use('/edit',SlideEdit);
router.use('/del',SlideDel);
router.use('/list',SlideList);
router.use('/setup',SlideSetup)
router.use('/state',SlideState)


module.exports = router;
